{% extends "base.html" %}

{% block title %}<title>Piedibus last trips</title>{% endblock %}

{% block body %}<body>
	<h1>Trips</h1>
	<table>
		<thead><tr><td>day</td><td>kind</td><td></td></tr></thead>
		<tbody>{% for trip in trips %}
			<tr>
				<td>{{trip.date}}</td>
				<td>{{trip.is_return|yesno:"andata, ritorno"}}</td>
				<td><a href="{{trip.key}}">details</a></td>
			</tr>
		{% endfor %}</tbody>
	</table>
</body>{% endblock %}
